<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$C.webtitle}</title>
<meta content="{$C.webkeywords}" name="Keywords">
<meta name="description" content="{$C.webdescription}" />
<link href="__PUBLIC__/index.css" rel="stylesheet" type="text/css" />
<script src="./Public/js/jquery.js"></script>
<load href="./Public/js/upload/uploadify.css" />
<load href="./Public/js/swfobject.js" />
<script type="text/javascript" src="./Public/js/jquery.uploadify.v2.1.4.min.js"></script> 

</head>
<body style="background:#fff;width:760px;">
<div class="wrapper" style="width:760px;background-color:#fff;"> 
    <img src="__PUBLIC__/img/logo.jpg" style="float:left;margin-top:10px;margin-left:10px;" />
    <div style="float:left;font-family:'微软雅黑';font-size:24px;height:40px;line-height:40px;margin-top:30px;width:440px;text-align:center;letter-spacing:5px;">
    乐嘻游长微博工具
    </div>
	<form name="form" action="{:U('dochangweibo')}" method="post">
    <input type="image" src="__PUBLIC__/img/fban.jpg" width="133" height="42" style="float:right;margin-top:30px;" />
    	<div style="width:760px;float:left;height:80px;line-height:30px;margin-top:10px;margin-bottom:10px;">
            <div style="float:left;font-family:'微软雅黑';font-size:18px;height:80px;line-height:30px;width:130px;letter-spacing:2px;text-align:center;padding-left:45px;padding-top:10px;">
            插入顶图
            <div id="fileQueue1"></div>
            <input id="file_upload1" type="file" /><input name="tupian" type="hidden" value="" />
            </div>
            <img id="tupian" src="<neq name='tupian' value=''><else/>__PUBLIC__/img/nopic.gif</neq>" width="144" height="80"/>
<script language="javascript">

//图片上传
$("#file_upload1").uploadify({
		'uploader'       : './Public/js/swf/uploadify.swf',
		'script'         : './Public/js/upload/uploadify.php',
		'cancelImg'      : './Public/js/upload/cancel.png',
		'folder'         : 'data/changweibodingtu',
		'queueID'        : 'fileQueue1',
		'sizeLimit'      :	100 * 1024,
		'fileExt'        : '*.jpg;*.gif;*.png;', //允许文件上传类型,和fileDesc一起使用.
		'fileDesc'       : '*.jpg;*.gif;*.png;',  //选择文件对话框中的提示文本.
		'auto'           : true,
		'multi'          : false,	
		'onComplete':function(event,queueId,fileObj,response,data){
			$('input[name="tupian"]').val(response);
			$('#tupian').attr('src', response);
		}
});
</script>
        </div>
    	<div style="width:760px;float:left;height:30px;line-height:30px;margin-top:10px;margin-bottom:20px;">
            <div style="float:left;font-family:'微软雅黑';font-size:18px;height:30px;line-height:30px;width:50px;letter-spacing:2px;">
            标题
            </div>
        	<input type="text" name="biaoti" style="width:700px;height:30px;float:left;" />
        </div>
    	<div style="width:760px;float:left;height:auto;line-height:30px;margin-top:10px;margin-bottom:20px;">
            <div style="float:left;font-family:'微软雅黑';font-size:18px;height:30px;line-height:30px;width:50px;letter-spacing:2px;">
            内容
            </div>
      		<textarea id="content" name="content" style="width:700px;height:300px;float:left;" value="" ></textarea>
        </div>
    	<div style="width:760px;float:left;height:30px;margin-top:10px;margin-bottom:20px;">
            <div style="float:left;font-family:'微软雅黑';font-size:14px;width:100px;letter-spacing:2px;">
            请选择频道:
            </div>
      		<select name="pindao" id="pindao" style="background:transparent;"><option value="1">资讯</option><option value="2">文学</option><option value="3">漫画</option><option value="4">影音</option><option value="5">炫图</option><option value="6">微经典</option></select>
        </div>

    </form>   


</div>
</body>
</html>